#include <stdlib.h>
#include <stdio.h>
#include <arm_neon.h>

int main(){
	int32_t *ppp = (int32_t *)calloc(4,32);
	*ppp = 1;
	*(ppp+1) = 2;
	*(ppp+2) = 3;
	*(ppp+3) = 4;
	int32x4_t sum_vec = vdupq_n_s32(2);
	int32x4_t kernel_vec = vld1q_s32(ppp);
	sum_vec = vaddq_s32(sum_vec,kernel_vec);
	printf("%d\n%d\n%d\n%d\n",vgetq_lane_s32(sum_vec,0),vgetq_lane_s32(sum_vec,1),vgetq_lane_s32(sum_vec,2),vgetq_lane_s32(sum_vec,3));
	return 0;
}
